package com.yuantu.judiciary.model.form;

import com.yuantu.judiciary.model.enums.CaseState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 查询参数表单
 *
 * @author syw
 * @since 2023-07-06
 **/
@Data
@ApiModel("搜索案件分页参数表单")
public class QueryCasePageForm {
    @NotNull(message = "查询记录id不能为空")
    @ApiModelProperty("查询记录id")
    private Long id;
    @NotNull(message = "类型不能为空")
    private String type;
    @ApiModelProperty("案件状态")
    private CaseState caseState;
}
